package com.zh.system.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zh.web.base.BaseDto;
import com.zh.web.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

@ApiModel("更新模板参数")
@Data
@Builder
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UpdateMessageTemplateDto extends BaseDto {
    @ApiModelProperty(value = "模板id", required = true)
    @NotNull
    private Long id;
    @ApiModelProperty("模板名称")
    private String name;
    @ApiModelProperty("模板类型")
    private String type;
    @ApiModelProperty("模板来源")
    private String source;
    @ApiModelProperty("模板体")
    private String template;
    @ApiModelProperty("模板替换关键词（体）数组")
    private String[] keywords;
    @ApiModelProperty("状态")
    private Status status;
}
